package files;

import java.io.File;
import java.io.IOException;
import java.util.List;

import org.apache.commons.io.FileUtils;
import org.apache.commons.io.filefilter.TrueFileFilter;

public class FileReader {

	public static void main(String[] args) throws IOException {
		
		String dirName = "C:\\temp";
		File dir = new File(dirName);
		
		List<File> files = (List<File>) FileUtils.listFiles(dir, TrueFileFilter.INSTANCE, TrueFileFilter.INSTANCE);
		
		for (File file : files) {
			System.out.println(file.getCanonicalPath());
		}
		 
		
	}
	
	
	
}
